"""
专门跑流程
"""
import pytest
from Config.Base import Base
from playwright.sync_api import Page, expect, Playwright
import allure
from Config.config import *
from Config.URL import *
import os
from Config.AutoFlowEngine import autoflow
from Common.BasePage import BasePage
from Config.Base import Base

# 数据驱动
#@pytest.mark.parametrize('case', case_data)
def test_case(playwright : Playwright):
    SetupTeardown = Base(playwright)
    SetupTeardown.goto(url)
    SetupTeardown.login("admin",password_admin)
    page = SetupTeardown.page
    page.wait_for_timeout(2500)
    
    SetupTeardown.expect_login()


    page.wait_for_timeout(3500)
    autoflow(SetupTeardown,"联合体测试-技术交底1")
    SetupTeardown.close()

